package com.usercar.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2021-08-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ContentPay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pay_id", type = IdType.AUTO)
    private Integer payId;

    private Long contentId;

    private String username;

    /**
     * 支付金额
     */
    private BigDecimal payment;

    private String outTravlNo;

    private String travlNo;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Date updateTime;

    /**
     * 1,支付完成，2退款，3,额外支付，4交易完成
     */
    private Integer status;


}
